package util;

import java.io.Serializable;
import java.util.List;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean(name = "TabelaBean")
@SessionScoped
public class TabelaBean implements Serializable {

	private static final long serialVersionUID = 1L;

	private TabelaModel tabelaModel;

	public TabelaModel getTabelaModel() {
		if (tabelaModel == null) {
			tabelaModel = new TabelaModel();
		}
		return tabelaModel;
	}

	public void setTabelaModel(TabelaModel tabelaModel) {
		this.tabelaModel = tabelaModel;
	}

	public List<Character> getAlfabeto() {
		return getTabelaModel().getAlfabeto();
	}

}
